<template>
  <div>
    <ul>
      <li v-for="(item,index) in arr" :key="index">{{item}}--{{index}}</li>
      <li v-for="(value,key) in obj" :key="key">{{value}} --- {{key}}</li>
      <li v-for="(item,index) in 10" :key="index">{{index}}--我是第{{item}}个li</li>
    </ul>
  </div>
</template>

<script>
export default {
  name: 'VueDemoApp',

  data() {
    return {
      arr : ['老大','老二','老三'],
      obj: {
        name:'张三',
        age :18
      }
    };
  },

  mounted() {
    
  },

  methods: {
    
  },
};
</script>

<style lang="scss" scoped>

</style>